﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tomato.Libraries.Databases.Models;
using Tomato.Libraries.Utilities.Attributes;

namespace Tomato.ExpenseDiary
{
    [Magic]
    public class MainPageViewModel
    {
        private Account _account;
        public MainPageViewModel( )
        {
            _account = new Account
            {
                Id = Guid.NewGuid( ),
                Name = "Nghich chut choi",
                AccountCategoryId = Guid.NewGuid( ),
                CurrencyId = Guid.NewGuid( ),
                Description = "test",
                CreatedAt = DateTime.Now,
                UpdatedAt = DateTime.Now,
            };
        }

        public string Name
        {
            get
            {
                return _account.Name;
            }
            set
            {
                _account.Name = value;
            }
        }

    }
}
